package net.ddns.heroli.pojo;

import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Transient;
import org.beetl.sql.core.annotatoin.ColumnIgnore;
import org.beetl.sql.core.annotatoin.InsertIgnore;
import org.beetl.sql.core.annotatoin.UpdateIgnore;
import javax.persistence.Table;
import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import cn.com.gzheroli.bfw.pojo.base.TSUser;
/**   
 * @Title: Entity
 * @Description: 商品属性表
 * @author 李长荣
 * @date 2017-12-27 20:27:14
 * @version V1.0   
 *
 */
 @Table(name="t_b_goods_attr")
public class TBGoodsAttr implements java.io.Serializable {

  @Column(name="ID")
  private java.lang.String id;//id

  @Column(name="GOODS_ID")
  private java.lang.String goodsId;//商品编号

  @Column(name="STORE_COUNT")
  private java.lang.Integer storeCount;//库存数量

  @Column(name="SHOP_PRICE")
  private BigDecimal shopPrice;//商家价格

  @Column(name="UPDATE_BY")
  private java.lang.String updateBy;//最新修改人ID

  @Column(name="UPDATE_TIME")
  private java.util.Date updateTime;//最后修改时间

  @Column(name="UPDATE_BY_NAME")
  private java.lang.String updateByName;//最后修改人名字

  @Column(name="REMARK")
  private java.lang.String remark;//备注

  @Column(name="MARKET_PRICE")
  private BigDecimal marketPrice;//市场价格

  @Column(name="DISCOUNT")
  private java.lang.Integer discount;//折扣

  @Column(name="STATUS")
  private java.lang.String status;//状态 0:禁用 1:启用

  @Column(name="SPU")
  private java.lang.String spu;//SPU值

  @Column(name="COST_PRICE")
  private BigDecimal costPrice;//商品成本价

  /**
	 *方法: 取得id
	 *return: id  id
	 */
  public java.lang.String getId() {
      return this.id;
  }
  public void setId(java.lang.String id) {
      this.id = id;
  }

  /**
	 *方法: 取得goodsId
	 *return: goodsId  商品编号
	 */
  public java.lang.String getGoodsId() {
      return this.goodsId;
  }
  public void setGoodsId(java.lang.String goodsId) {
      this.goodsId = goodsId;
  }

  /**
	 *方法: 取得storeCount
	 *return: storeCount  库存数量
	 */
  public java.lang.Integer getStoreCount() {
      return this.storeCount;
  }
  public void setStoreCount(java.lang.Integer storeCount) {
      this.storeCount = storeCount;
  }

  /**
	 *方法: 取得shopPrice
	 *return: shopPrice  商家价格
	 */
  public BigDecimal getShopPrice() {
      return this.shopPrice;
  }
  public void setShopPrice(BigDecimal shopPrice) {
      this.shopPrice = shopPrice;
  }

  /**
	 *方法: 取得updateBy
	 *return: updateBy  最新修改人ID
	 */
  public java.lang.String getUpdateBy() {
      return this.updateBy;
  }
  public void setUpdateBy(java.lang.String updateBy) {
      this.updateBy = updateBy;
  }

  /**
	 *方法: 取得updateTime
	 *return: updateTime  最后修改时间
	 */
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") 
  public java.util.Date getUpdateTime() {
      return this.updateTime;
  }
  public void setUpdateTime(java.util.Date updateTime) {
      this.updateTime = updateTime;
  }

  /**
	 *方法: 取得updateByName
	 *return: updateByName  最后修改人名字
	 */
  public java.lang.String getUpdateByName() {
      return this.updateByName;
  }
  public void setUpdateByName(java.lang.String updateByName) {
      this.updateByName = updateByName;
  }

  /**
	 *方法: 取得remark
	 *return: remark  备注
	 */
  public java.lang.String getRemark() {
      return this.remark;
  }
  public void setRemark(java.lang.String remark) {
      this.remark = remark;
  }

  /**
	 *方法: 取得marketPrice
	 *return: marketPrice  市场价格
	 */
  public BigDecimal getMarketPrice() {
      return this.marketPrice;
  }
  public void setMarketPrice(BigDecimal marketPrice) {
      this.marketPrice = marketPrice;
  }

  /**
	 *方法: 取得discount
	 *return: discount  折扣
	 */
  public java.lang.Integer getDiscount() {
      return this.discount;
  }
  public void setDiscount(java.lang.Integer discount) {
      this.discount = discount;
  }

  /**
	 *方法: 取得status
	 *return: status  状态 0:禁用 1:启用
	 */
  public java.lang.String getStatus() {
      return this.status;
  }
  public void setStatus(java.lang.String status) {
      this.status = status;
  }

  /**
	 *方法: 取得spu
	 *return: spu  SPU值
	 */
  public java.lang.String getSpu() {
      return this.spu;
  }
  public void setSpu(java.lang.String spu) {
      this.spu = spu;
  }

  /**
	 *方法: 取得costPrice
	 *return: costPrice  商品成本价
	 */
  public BigDecimal getCostPrice() {
      return this.costPrice;
  }
  public void setCostPrice(BigDecimal costPrice) {
      this.costPrice = costPrice;
  }

    public String toString(TBGoodsAttr rm,TSUser user) {
	  return "";
  }
	
}